package com.example.jpa.enums;

public enum GenderEnum implements BaseEnum
{
    /**
     * 男
     */
    MALE(0),
    /**
     * 女
     */
    FEMALE(1);

    /**
     * 性别编码
     */
    private Integer code;

    GenderEnum(int code)
    {
        this.code = code;
    }

    public Integer getCode()
    {
        return code;
    }
}
